package com.fulong.dao;

import com.fulong.entity.DeviceManageInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DeviceManageInfoDao extends BaseMapper<DeviceManageInfoEntity> {
    @Select("UPDATE device_manage_info set device_manage_info.period =  device_manage_info.period-1")
    void updatePeriod();

}
